<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	version="1.0">
	
	<xsl:template match="/canss">
		<html>
			<body>
				<h1>
					Event Description List
				</h1>
				<xsl:template match="canssEvent_eventGroup">
					<table class="datatable">
						<tbody>
							<th scope='col'>No</th>
							<th scope='col'>Event ID</th>
							<th scope='col'>Event level</th>
							<th scope='col'>Event name</th>
							<th scope='col'>One Line Description</th>
							
							<xsl:for-each select="/canss/canssEvent_eventGroup/canssEvent_eventDescription">
								<tr>
									<td scope='col'>
										<center><xsl:number format="1"/></center>
									</td>
									<td>
										<xsl:value-of select="canssEvent_EventID"/>
									</td>
									<td class="singleentry">
										<xsl:value-of select="canssEvent_Level"/>
									</td>
									<td>
										<xsl:value-of select="canssEvent_EventName"/>
									</td>
									<td>
										<xsl:value-of select="canssEvent_OneLineDesc"/>
									</td>
								</tr>
							</xsl:for-each>
						</tbody>
					</table>
				</xsl:template>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>

